package unit8_Practice_5;

public class practice5_2 {
	public String xingmin;
	public String xuehao;
	public int zongchengji;
	public practice5_2(String xingmin,String xuehao,int zongchengji){
		this.xingmin=xingmin;
		this.xuehao=xuehao;
		this.zongchengji=zongchengji;
	}

	public String getXingmin() {
		return xingmin;
	}

	public void setXingmin(String xingmin) {
		this.xingmin = xingmin;
	}



	public String getXuehao() {
		return xuehao;
	}



	public void setXuehao(String xuehao) {
		this.xuehao = xuehao;
	}



	public int getZongchengji() {
		return zongchengji;
	}



	public void setZongchengji(int zongchengji) {
		this.zongchengji = zongchengji;
	}



	
	
	
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		practice5_2[] student = new practice5_2[5];
		practice5_2 student1 = new practice5_2("张三","100",89);
		practice5_2 student2 = new practice5_2("李四","101",34);
		practice5_2 student3 = new practice5_2("王五","102",54);
		practice5_2 student4 = new practice5_2("赵六","103",76);
		practice5_2 student5 = new practice5_2("钱琪","104",98);
		student[0] = student1;
		student[1] = student2;
		student[2] = student3;
		student[3] = student4;
		student[4] = student5;
		/*practice5_2 tempStudent = new practice5_2(null,null,null);*/
		//排序

	}

}
